package com.bootdo.clouddo.dao.douban;

import com.bootdo.clouddo.dao.BaseMapper;
import com.bootdo.clouddo.domain.douban.DbSubjectCollectionItem;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DbSubjectCollectionItemMapper extends BaseMapper<DbSubjectCollectionItem> {

    List<DbSubjectCollectionItem> findItemsByCollection(@Param("collectionId") String collectionId);

    List<Long> findAllIds();

    int deleteByCollectionId(@Param("collectionId") String collectionId);
}